package cn.byapps.attendance.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "_teacher")
public class Teacher implements Serializable {

	@Id
	@Column(name = "_id", length = 10)
	private String id;
	@Column(name = "_cellphone", length = 20)
	private String cellphone;
	@Column(name = "_name", length = 20)
	private String name;
	@Column(name = "_password", length = 20)
	private String password;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCellphone() {
		return cellphone;
	}

	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

}
